home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / fddev202.zip / C.ARJ / UNDIAL.H < prev   
Text File  |  1991-10-02  |  2KB  |  38 lines

  1. /*
  2. **  undial.h (FrontDoor)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  NODIAL.FD format for FrontDoor 2.00+
  7. **
  8. **  Last revision:  91-10-02
  9. **
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. */
  15.  
  16. #define MAXUNDIAL   200             /* Maximum number of undialable systems */
  17. #define DIALTROUBLE 1                                    /* Got one failure */
  18. #define DIALWORSE   2                                   /* Got two failures */
  19. #define DIALNOMORE  3                     /* Got three failures, undialable */
  20.  
  21. /*
  22. **  When FrontDoor reaches the maximum number of resend retries for a system
  23. **  during an event (session handshake failures, bad sends, etc.) it bumps
  24. **  the 'badness' counter one. Once it reaches three (i.e. FD has reached the
  25. **  resend limit in three separate events), the system is flagged as 'hard'
  26. **  undialable and FD will no longer attempt to call that system.
  27. */
  28.  
  29. typedef struct
  30.     {
  31.     word    zone,net,node,point;            /* Address of undialable system */
  32.     dword   phone_crc;                    /* CRC-32 of raw telephone number */
  33.     word    badness;                        /* How undialable the system is */
  34.     }
  35.     NODIAL, *NODIALPTR;
  36.  
  37. /* end of file "undial.h" */
  38.